<?php

namespace App\Modules\Common\Models;

use Illuminate\Database\Eloquent\Model;

/**
 * Class SystemSwitch
 * @package App\Modules\Common\Models
 * @property boolean $rebate_ranking
 * @property boolean $money_ranking
 * @property boolean $number_ranking
 * @property boolean $photo_ranking
 * @property boolean $partner_rebate_ranking
 * @property boolean $partner_money_ranking
 * @property boolean $partner_number_ranking
 * @property boolean $partner_photo_ranking
 */
class SystemSwitch extends Model
{
    public static $show = [
        'rebate_ranking'  => '返利排行',
        'money_ranking'   => '业绩排行',
        'number_ranking'  => '单量排行',
        'photo_ranking'   => '婚纱摄影',
        'jewelry_ranking' => '结婚首饰',
        'shop_ranking'    => '选择门店',
    ];
    public $fillable = [
        'rebate_ranking',
        'money_ranking',
        'number_ranking',
        'photo_ranking',
        'jewelry_ranking',
        'shop_ranking',
        'partner_rebate_ranking',
        'partner_money_ranking',
        'partner_number_ranking',
        'partner_photo_ranking',
        'partner_jewelry_ranking',
        'partner_shop_ranking',
    ];
}
